package com.hzsai.pojo;

import lombok.Data;

import java.util.List;

/**
 * hzsai 2019/8/18
 * usage:
 **/
@Data
public class Customer {

    /**
     * 用户和订单是一对多的关系
     *        Customer
     *           *
     *          *  *
     *         *    *
     *       Order  Order
     */
    private Integer id;
    private String name;
    private List<Order> orders;
}
